package tut.Struct.collection.phan1.map.marinHashMap;

public class MarinSummaryKey{
	public int linkId = 0;
	public int conversionId = 0;

	public MarinSummaryKey(int linkId, int conversionId) {
		this.linkId = linkId;
		this.conversionId = conversionId;
	}

	public boolean equals(Object obj) {
		if (obj == null)
			return false;
		if (!(obj instanceof MarinSummaryKey))
			return false;

		MarinSummaryKey comp = (MarinSummaryKey) obj;

		if (this.linkId != comp.linkId)
			return false;
		if (this.conversionId != comp.conversionId)
			return false;
		return true;
	}

	public int hashCode(){
		return 1;
	}

}
